package com.funmi.lizip.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.funmi.lizip.entity.Options;
import com.funmi.lizip.entity.TaskItem;
import com.funmi.lizip.entity.dto.taskItem.TaskItemQueryRequest;
import com.funmi.lizip.entity.vo.TaskItemVo;
import com.funmi.lizip.mapper.OptionsMapper;
import com.funmi.lizip.mapper.TaskItemMapper;
import com.funmi.lizip.service.TaskItemService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.LinkedHashMap;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author itheima
 */
@Slf4j
@Service

public class TaskItemServiceImpl extends ServiceImpl<TaskItemMapper, TaskItem> implements TaskItemService {


    @Autowired
    private TaskItemMapper taskItemMapper;

    @Override
    public TaskItem listById(TaskItemQueryRequest request) {
        TaskItem taskItem = taskItemMapper.selectById(request.getId());
        return taskItem;
    }
}
